import React, { useState, useEffect } from 'react'
import MapContent from './MapDetail'
import Header from '../Common/Header/Header'
function OrderDetail(props) {
  return (
    <div>
      <Header></Header>
      <div style={{ width: '100%', height: '600px' }}>
        <MapContent></MapContent>
        <div
          style={{ fontSize: '24px', fontWeight: 'bold', marginTop: '40px' }}
        >
          这里就是刚才通过页面传递过来的id是000{props.match.params.id}
          ，在依据这个值去查询数据
        </div>
      </div>
    </div>
  )
}

export default OrderDetail
